python tkinter treeview get selected item

31

def selectItem(a):
    curItem = tree.focus()
    print tree.item(curItem)

Comments

Submit
0 Comments